#ifndef _FL_H
#define _FL_H

struct Lexer;

typedef struct fl_t {
  double org_x;
  double org_y;
  double rot;
  double scal_x;
  double scal_y;

  double t;
  double to;
  double step;
  double draw_x;
  double draw_y;
  struct Lexer* backup;   // for drawing procedure using t

  void (*draw_point)(struct fl_t* fl, double x,double y);
  void* display_obj;
} fl_t;


void fl_main(fl_t* fl, char* filename);

#endif
